import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
// 引入provider，可以在容器组件中自动注入store，并且当状态改变时自动调用render刷新视图
import { Provider } from 'react-redux'
import store from './redux/store'
ReactDOM.render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('root')
)
